package com.demo2;

import java.util.Date;

public class Test {

	public int a;
	
	private int c;

	public int getC() {
		return c;
	}

	public void setC(int c) {
		this.c = c;
	}
	
	public void sy() {
		System.out.println("Test");
	}
	
	public static void main(String[] args) {
		Date time1 = new Date(1673408645134L);
		Date time = new Date();
		System.out.println(time.after(time));
		System.out.println(time.before(time));
		
		System.out.println(time.compareTo(time)<=0);
		
		System.out.println(time1.compareTo(time));

	}
	
}
